Unwrap JSON to Schema

The Unwrap JSON to Schema algorithm allows you to get data from an array of objects.

 

The example of this data manipulation can be seen in the table below:

 

Source Column (JSON Format) Updated Schema

{"id": 1,

"first_name":"Alli", }

 

{"id":2,

"first_name":"Clyde", }

ID First Name
1 Alli
2 Clyde

 

To configure the Unwrap JSON to Schema manipulate step, follow the instructions below:

 

  1. In the Admin Navigation tree, select Interfaces > InterfaceName > Tasks > TaskName > Steps.
  2. On the toolbar, click New >New Manipulate Step.

Creating a New Manipulate Step

  1. Navigate to the JSON section and select Unwrap JSON to Schema.

JSON Section

  1. In the Unwrap JSON to Schema work area, fill in the following fields:

Fields Configuration

The following table describes the fields available for this step:

 

Fields Description

Name

Provide a distinctive name for this step.

Is Active

Select the check box to engage the scheduler for this step.

Order of Execution

Enter the order in which this step should be executed.

Filter Expression

Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table.

Sort Expression

Optional. Use this field to sort data from the source database prior to inserting it into the Schema table.

Stop interface execution if query failed

Optional. If enabled, the system will stop any data manipulation if the query returns an error.

Save Schema (enabled per interface)

If selected, the schema is created for this step.

Source Column

Select the source column, which contains data in a JSON format.

 

  1. Click the Save button.